.header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background-color: #2c3e50;
  color: #fff;
  padding: 10px 50px;

  .left {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;

    .icon {
      margin-right: 5px;
      width: 50px;
      height: 52px;
    }

    .title {
      font-size: 20px;
      font-weight: bold;
    }
  }

  .right {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;

    .status {
      display: flex;
      flex-direction: row;
      justify-content: flex-start;
      align-items: center;
      background-color: #d4edda;
      border-radius: 20px;
      padding: 5px 10px;
      margin-right: 10px;
      height: 32px;

      .light {
        border-radius: 50%;
        width: 8px;
        height: 8px;

        margin-right: 5px;
        background-color: #2c3e50;
        &.on {
          background-color: #52be7e;
        }

        &.off {
          background-color: #ff3c00;
        }
      }

      .txt {
        font-size: 12px;
        color: #2c3e50;
        font-weight: bold;
        &.on {
          color: #52be7e;
        }

        &.off {
          color: #ff3c00;
        }
      }


    }

    .style {
      display: flex;
      flex-direction: row;
      justify-content: flex-start;
      align-items: center;
      background-color: #566573;
      border-radius: 4px;
      padding: 5px 10px;
      margin-right: 10px;
      min-width: 90px;
      height: 32px;

      &:hover {
        cursor: pointer;
        background-color: #6c7885;
        transition: all .3s;
      }

      .icon {
        margin-right: 5px;
        display: flex;
        justify-content: center;
        align-items: center;
      }

      .txt {
        font-size: 12px;

      }
    }

    .language {
      background-color: #566573;

      .select {

        .ant-select-selection-item {
          color: #fff;
          font-size: 12px;
        }

        .anticon {
          color: #fff;
        }
      }
    }
  }
}

.dark-theme {
  .header {
    background-color: #1f1f1f;

    .style {
      background-color: #2d2d2d;
    }

    .language {
      background-color: #4c4c4c;
    }
  }
}


@media screen and (max-width: 769px) {
  .header{
    padding: 10px 20px;
    flex-wrap: wrap;
    .left{
      width: 100%;
    }
    .right{
      width: 100%;
    }
  }
}